// 自动生成模板SmsSeckillSkuNotice
package biz

import (
	"time"

	"github.com/go-kratos/kratos/v2/log"
)

// smsSeckillSkuNotice表 结构体  SmsSeckillSkuNotice
type SmsSeckillSkuNotice struct {
	Id           *int       `json:"id" form:"id" gorm:"primarykey;comment:id;column:id;size:19;"`                    //id
	MemberId     *int       `json:"memberId" form:"memberId" gorm:"comment:member_id;column:member_id;size:19;"`     //member_id
	SkuId        *int       `json:"skuId" form:"skuId" gorm:"comment:sku_id;column:sku_id;size:19;"`                 //sku_id
	SessionId    *int       `json:"sessionId" form:"sessionId" gorm:"comment:活动场次id;column:session_id;size:19;"`     //活动场次id
	SubcribeTime *time.Time `json:"subcribeTime" form:"subcribeTime" gorm:"comment:订阅时间;column:subcribe_time;"`      //订阅时间
	SendTime     *time.Time `json:"sendTime" form:"sendTime" gorm:"comment:发送时间;column:send_time;"`                  //发送时间
	NoticeType   *bool      `json:"noticeType" form:"noticeType" gorm:"comment:通知方式[0-短信，1-邮件];column:notice_type;"` //通知方式[0-短信，1-邮件]
}

// TableName smsSeckillSkuNotice表 SmsSeckillSkuNotice自定义表名 sms_seckill_sku_notice
func (SmsSeckillSkuNotice) TableName() string {
	return "sms_seckill_sku_notice"
}

type SmsSeckillSkuNoticeRepo interface {
}

type SmsSeckillSkuNoticeUsecase struct {
	repo SmsSeckillSkuNoticeRepo
	log  *log.Helper
}

func NewSmsSeckillSkuNoticeUsecase(repo GreeterRepo, logger log.Logger) *SmsSeckillSkuNoticeUsecase {
	return &SmsSeckillSkuNoticeUsecase{repo: repo, log: log.NewHelper(logger)}
}
